package com.ruoyi.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Date;
import javax.validation.constraints.NotNull;

public class OpenApiDTO {

    //@NotNull(message = "开始时间不能为空")
    private Date startTime;

    //@NotNull(message = "结束时间不能为空")
    private Date endTime;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "OpenApiDTO{" +
                "startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }
}
